package com.example.backend.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class Foodorder {
    private Integer orderid;
    private Integer userid;
    private Integer reviewid;
    private String restaurantid;
    private Integer complainid;
    private Double price;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;
    private Integer state;
    private Integer way;
    private List<Orderdetail> orders;
    private Integer person;
}
